home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 November / SGI IRIX Installation Tools & Overlays 2002 November - Disc 4.iso / dist / motif21_dev.idb / usr / Motif-2.1 / include / Xm / CareVisualT.h.z / CareVisualT.h
C/C++ Source or Header  |  2002-10-15  |  2KB  |  56 lines

  1. /* $XConsortium: CareVisualT.h /main/5 1995/07/15 20:48:21 drk $ */
  2. /*
  3.  *  @OSF_COPYRIGHT@
  4.  *  COPYRIGHT NOTICE
  5.  *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
  6.  *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
  7.  *  the full copyright text.
  8.  */
  9. /*
  10.  * HISTORY
  11.  */
  12. #ifndef _XmCareVisualT_H
  13. #define _XmCareVisualT_H
  14.  
  15. #include <Xm/Xm.h>
  16.  
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20.  
  21. externalref XrmQuark XmQTcareParentVisual;
  22.  
  23. /* Trait structures and typedefs, place typedefs first */
  24.  
  25. typedef Boolean (*XmCareVisualRedrawProc)(Widget kid, 
  26.                       Widget cur_parent,
  27.                       Widget new_parent,
  28.                       Mask visual_flag);
  29.  
  30. /* Version 0: initial release. */
  31.  
  32. typedef struct _XmCareVisualTraitRec {
  33.   int              version;    /* 0 */
  34.   XmCareVisualRedrawProc redraw;
  35. } XmCareVisualTraitRec, *XmCareVisualTrait;
  36.  
  37.  
  38. #define NoVisualChange                    0L
  39. #define VisualForeground                  (1L<<0)  
  40. #define VisualHighlightPixmap             (1L<<1)                              
  41. #define VisualHighlightColor              (1L<<2)   
  42. #define VisualBottomShadowPixmap          (1L<<3)   
  43. #define VisualBottomShadowColor           (1L<<4)   
  44. #define VisualTopShadowPixmap             (1L<<5)   
  45. #define VisualTopShadowColor              (1L<<6)   
  46. #define VisualBackgroundPixel             (1L<<7)   
  47. #define VisualBackgroundPixmap            (1L<<8)   
  48. #define VisualSelectColor                 (1L<<9)   
  49.  
  50.  
  51. #ifdef __cplusplus
  52. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  53. #endif
  54.  
  55. #endif /* _XmCareVisualT_H */
  56.